layui.use(['form', 'jquery', 'layer', 'table', 'laydate', 'laypage'], function() {
	var form = layui.form;
	var $ = layui.$;
	var table = layui.table;
	var layer = layui.layer;
	var laydate = layui.laydate;
	var laypage = layui.laypage;

	var table_filter = 'history_list';
	// 渲染表格
	table.render({
		elem: '#' + table_filter,
		id: table_filter,
		url: history_list_url,
		method: 'post',
		height: 'full-200',
		cols: [cols],
		where: {
			phone:phone
		},
		page: {
			layout: ['count', 'first', 'prev', 'page', 'next', 'last', 'skip'],
			limit: 30,
			theme: '#393d49',
			groups: 8
		},
		autoSort: false,
		toolbar: false,
		defaultToolbar: [],
		initSort: {
			field: 'id',
			type: 'desc'
		}
	});

})